<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style type="text/css">
        body {
            background-color: #aaa;
        }

        .iphone {
            width: 300px;
            height: 600px;
            margin: 50px auto;
            background-color: #2e2e2e;
            border: 1px solid #3b3b3b;
            border-radius: 64px;
            position: relative;
            box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.5);
        }

        .iphone:before {
            content: "";
            position: absolute;
            width: 50px;
            height: 6px;
            background-color: #2e2e2e;
            right: 60px;
            top: -7px;
            border-radius: 3px 3px 0 0;
        }

        .iphone:after {
            content: "";
            position: absolute;
            height: 45px;
            width: 6px;
            background-color: #2e2e2e;
            left: -7px;
            top: 100px;
        }

        .cam {
            width: 6px;
            height: 6px;
            background-color: #1a1a1a;
            border: 1px solid #4a4a4a;
            position: absolute;
            top: 8px;
            left: 35%;
            margin-left: -8px;
            border-radius: 50%;
            box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
        }

        .lis {
            width: 60px;
            height: 5px;
            border: 1px solid #4a4a4a;
            background-color: #1a1a1a;
            position: absolute;
            left: 50%;
            margin-left: -35px;
            top: 8px;
            border-radius: 10px;
            box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
        }

        .content {
            width: 270px;
            height: 564px;
            background-color: #0a0a0a;
            margin: 17px auto 0;
            font: 35px/450px "微软雅黑";
            text-align: center;
            color: white;
            border: 4px solid #1a1a1a;
            position: relative;
            border-radius: 47px;
        }

        .content:before {
            content: "";
            width: 270px;
            height: 564px;
            position: absolute;
            top: 0;
            left: 0;
            border-radius: 47px;
            background: -webkit-linear-gradient(top left, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 80%);
        }
    </style>
</head>

<body>
    <div class="iphone">
        <div class="cam"></div>
        <div class="lis"></div>
        <div class="content">
            iphone
        </div>

    </div>
</body>

</html>